package com.ming.test.page;

public class Digui {

    public static int test(int n){

        return n==1?1:n*test((n-1));
    }

    public static void main(String[] args){
        int test = test(4);
        System.out.println(test);
    }
}